import {getRequestConfig} from './getRequestConfig';
import {xhrSend} from './xhrSend';

export const xhr=function(config={}){
    return xhrSend(getRequestConfig(config),new XMLHttpRequest());
};
export default xhr;